package com.ttai.dagger.module.activity;

import com.ttai.presenter.activity.LoginIdPresenter;
import com.ttai.ui.activity.LoginId;

import dagger.Module;
import dagger.Provides;

@Module
public class LoginIdPresenterModule {
    LoginId loginId;

    public LoginIdPresenterModule(LoginId loginId) {
        this.loginId = loginId;
    }
    @Provides
    LoginIdPresenter provideLoginIdPresenter(){
        return new LoginIdPresenter(loginId);
    }
}
